package com.googlecode.monitoring.web;


public class SettingsBean {
    private String instanceName;
    private String shellCommand;
    private String processStateCommand;
    private String autoRefreshInterval;

    public SettingsBean() {
    }

    public SettingsBean(
            String instanceName,
            String shellCommand,
            String processStateCommand,

            String autoRefreshInterval
    ) {
        this.setInstanceName(instanceName);
        this.setShellCommand(shellCommand);
        this.setProcessStateCommand(processStateCommand);
        this.setAutoRefreshInterval(autoRefreshInterval);
    }

    public String getInstanceName() {
        return instanceName;
    }

    public String getShellCommand() {
        return shellCommand;
    }

    public String getProcessStateCommand() {
        return processStateCommand;
    }

    public String getAutoRefreshInterval() {
        return autoRefreshInterval;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName;
    }

    public void setShellCommand(String shellCommand) {
        this.shellCommand = shellCommand;
    }

    public void setProcessStateCommand(String processStateCommand) {
        this.processStateCommand = processStateCommand;
    }

    public void setAutoRefreshInterval(String autoRefreshInterval) {
        this.autoRefreshInterval = autoRefreshInterval;
    }
}
